package exercise5;

public class StudentTest {
    public static void main(String[] args) {
        Student a = new Student("a", 12);
        Student b = new Student("b", 12,"scct");
        Student c = new Student("c", 12, "scct", "software");

        System.out.println(a.getName());
        System.out.println(a.getAge());

        System.out.println(b.getName());
        System.out.println(b.getAge());
        System.out.println(b.getSchool());

        System.out.println(c.getName());
        System.out.println(c.getAge());
        System.out.println(c.getSchool());
        System.out.println(c.getMajor());
    }
}
